package com.chinairi.mall.model;

import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.chinairi.common.model.BaseModel;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * <p>
 * 
 * </p>
 *
 * @author gsl
 * @since 2020-10-18
 */
@TableName("PROJECT_PLAN_PURCHASE_CONTROL")
public class ProjectPlanPurchaseControl extends BaseModel {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId("CONTROL_ID")
    private String controlId;

    /**
     * 采购计划编号
     */
    @TableField("PLAN_PURCHASE_ID")
    private String planPurchaseId;

    /**
     * 生产控制选择
     */
    @TableField("PLAN_PURCHASE_CONTROL_TYPE")
    private String planPurchaseControlType;

    /**
     * 创建人
     */
    @TableField("CREATE_USER")
    private String createUser;

    /**
     * 创建时间
     */
    @TableField("CREATE_TIME")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    /**
     * 修改人
     */
    @TableField("UPDATE_USER")
    private String updateUser;

    /**
     * 修改时间
     */
    @TableField("UPDATE_TIME")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;

    public String getControlId() {
        return controlId;
    }

    public void setControlId(String controlId) {
        this.controlId = controlId;
    }
    public String getPlanPurchaseId() {
        return planPurchaseId;
    }

    public void setPlanPurchaseId(String planPurchaseId) {
        this.planPurchaseId = planPurchaseId;
    }

    public String getPlanPurchaseControlType() {
        return planPurchaseControlType;
    }

    public void setPlanPurchaseControlType(String planPurchaseControlType) {
        this.planPurchaseControlType = planPurchaseControlType;
    }
    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }
    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "ProjectPlanPurchaseControl{" +
            "controlId=" + controlId +
            ", planPurchaseId=" + planPurchaseId +
            ", planPurchaseControlType=" + planPurchaseControlType +
            ", createUser=" + createUser +
            ", createTime=" + createTime +
            ", updateUser=" + updateUser +
            ", updateTime=" + updateTime +
        "}";
    }
}
